package com.example.paopao.consumer.homepage.service.impl;

import com.example.paopao.consumer.homepage.dao.persist.repository.IIndexRepository;
import com.example.paopao.consumer.homepage.pojo.vo.HiringVO;
import com.example.paopao.consumer.homepage.pojo.vo.IndustryVO;
import com.example.paopao.consumer.homepage.pojo.vo.SearchCountVO;
import com.example.paopao.consumer.homepage.service.IIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexService implements IIndexService {

    @Autowired
    private IIndexRepository repository;

    @Override
    public List<SearchCountVO> listSearchCount() {
        return repository.listSearchCount();
    }

    @Override
    public List<HiringVO> listHiringVO() {
        return repository.listHiringVO();
    }

    @Override
    public List<IndustryVO> listIndustry() {
        return repository.listIndustry();
    }
}
